/**
 * Created by thanatos on 15-9-10
 */

@mixin catalog-panel{
    width: 580px;
    margin-top: 20px;
    .catalog-item{
        margin-bottom: 20px;
        border: 1px solid $gray-color;
        float: left;
        h2{
            background-color: $gray-color;
            margin: 0;
            padding: 8px 5px;
            font-size: 15px;
        }
        p{
            border-top: 1px dotted $gray-color;
            display: block;
            float: left;
            font-size: 13px;
            margin: 0;
            padding: 5px 0;
            span{
                color: $highlight-color;
                width: 95px;
                margin: 0 5px 0 0;
                line-height: 24px;
                text-align: right;
                float: left;
            }
            .catalog-node{
                display: block;
                float: left;
                width: 475px;
                a{
                    line-height: 24px;
                    float: left;
                    margin-right: 15px;
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }
        }
    }
}
.catalog-panel-left{
    @include catalog-panel;
    float: left;
}
.catalog-panel-right{
    @include catalog-panel;
    float: right;
}